package com.iwe3.operation.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;


import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
    public class ManagerEntity {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String userCode;
    private String userName;
    private String userPassword;
    private String email;
    private String cellphone;
    private String locked;
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private LocalDateTime insertTime;
}